From: Samuel Thibault Date: Thu, 4 Dec 2025 16:54:23 +0000 (+0100) Subject: doxygen-hip X-Git-Tag: archive/raspbian/1.4.10+dfsg-2+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22Program/%22http:/www.example.com/cgi/%22https:/%22Program?a=commitdiff_plain;h=d84f24e4fdf5a9d0804d780114cdab7a621a34b3;p=starpu.git doxygen-hip Gbp-Pq: Name doxygen-hip --- diff --git a/doc/doxygen.cfg b/doc/doxygen.cfg index 82d8e36..5edefcc 100644 --- a/doc/doxygen.cfg +++ b/doc/doxygen.cfg @@ -1635,6 +1635,7 @@ PREDEFINED = STARPU_USE_OPENCL=1 \ STARPU_HAVE_GLPK_H=1 \ STARPU_USE_MPI_MASTER_SLAVE=1 \ STARPU_BUBBLE=1 \ + __HIP_PLATFORM_AMD__=1 \ __GCC__ # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then diff --git a/doc/doxygen/doxygen_filter.sh.in b/doc/doxygen/doxygen_filter.sh.in index d61235d..ebb4529 100755 --- a/doc/doxygen/doxygen_filter.sh.in +++ b/doc/doxygen/doxygen_filter.sh.in @@ -15,7 +15,7 @@ # See the GNU Lesser General Public License in COPYING.LGPL for more details. # if [ "$(basename $1)" == "starpufft.h" ] ; then - gcc -E $1 -I @top_srcdir@/include/ -I @top_builddir@/include/ |grep -i starpufft + gcc -D__HIP_PLATFORM_AMD__ -E $1 -I @top_srcdir@/include/ -I @top_builddir@/include/ |grep -i starpufft else # the macro STARPU_DEPRECATED needs to be removed as it is not properly processed by doxygen # lines starting with // in the doxygen input files are considered as comments to be removed